package net.dengzixu.java.homework.period7;

/**
 * @author Deng Zixu <admin@dengzixu.com>
 */
public class Period7Homework2 {
    public static void main(String[] args) {
        // 控制行输出
        for (int i = 1; i <= 5; i++) {
            // 控制列输出
            for (int j = 1; j <= i; j++) {
                System.out.print(j + " ");
            }
            // 换行
            System.out.println();
        }
    }
}
